package exam;

import java.io.*;
import java.util.StringTokenizer;

public class test3 {

    public static PrintWriter out=new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
    public static Read in=new Read();

    public static void main(String[] args) {
    }

    static class Read{//自定义快速读入
        //字符串截取
        StringTokenizer st=new StringTokenizer("");

        //System.in是字节流
        //InputStreamReader是字符流
        BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));


String next()throws IOException{
    while(st.hasMoreTokens()){
        st=new StringTokenizer(bf.readLine());
    }
    return st.nextToken();
}

String nextLine()throws IOException{
    return bf.readLine();
}

int nextInt()throws IOException{
    return Integer.parseInt(next());
}

double nextDouble()throws IOException{
    return Double.parseDouble(next());
}

long nextLong()throws IOException{
    return Long.parseLong(next());
        }
    }
}
